Error when using complex file names for tar -> write in perl?

Well is the directory separator on *nix systems (and, internally Windows treats and interchangeably) and I believe tar files, regardless of platform use it internally as the directory separator I do not think you can create file names containing on either *nix or Windows based systems. Even if you could, that would probably create a whole bunch of headaches down the road It would be better in my humble opinion to switch to a saner date format such as YYYYMMDD Also, you are using string concatenation when sprintf would have been much clearer: my $filename= sprintf '%s_%s_%s. Tar', $archive_type, $from_date_time, , $to_date_time.

Well, / is the directory separator on *nix systems (and, internally Windows treats / and \ interchangeably) and I believe tar files, regardless of platform use it internally as the directory separator. I do not think you can create file names containing / on either *nix or Windows based systems. Even if you could, that would probably create a whole bunch of headaches down the road.It would be better in my humble opinion to switch to a saner date format such as YYYYMMDD.

Also, you are using string concatenation when sprintf would have been much clearer: my $filename= sprintf '%s_%s_%s. Tar', $archive_type, $from_date_time, , $to_date_time.

Not just on Unix; on Windows, too. – tchrist Nov 10 '10 at 14:59 @thcrist Note the the ;-) – Sinan Ünür Nov 10 '10 at 15:00.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions